#include "MsgQueue.hpp"
#include "Chain_of_responsibility.hpp"
int main()
{
    Server server;
    HandlerEntry Chain;
    // Chain.EnableHandler(7);
    while(1)
    {
        std::string str;
        server.Receive(CLIENT,str);
       if(str=="exit") break;
       Chain.Run(str);
    }
    return 0;
}